package com.czh.auth.application.convert;

import com.czh.auth.application.dto.AuthPermissionDTO;
import com.czh.auth.domain.entity.AuthPermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author caozaihui
 * @version 1.0
 * @since 2024/8/30 下午 8:39
 */
@Mapper
public interface AuthPermissionConverter {
    AuthPermissionConverter INSTANCE = Mappers.getMapper(AuthPermissionConverter.class);
    AuthPermissionBO convert(AuthPermissionDTO authPermission);
}
